Skip to main content

Copy Folder

AutomatR.Dropbox.Activities.CopyFolder

The "Copy Folder" activity in AutomatR is part of the Dropbox.Folder activities package, allowing automation processes to copy folders from one location to another within a user's Dropbox. This activity simplifies folder management tasks in Dropbox, enhancing the efficiency of automation workflows.

Properties

NameDescription
Input
Destination PathSpecifies the destination path of the folder in Dropbox where the copied folder should be stored. String variables containing the destination folder path.
OverwriteWhen enabled, allows overwriting the destination folder and its contents if they already exist. Boolean variables to enable or disable overwriting.
Source PathSpecifies the path of the folder in Dropbox that needs to be copied. String variables containing the source folder path.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Copy Folder" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the delay is 5 seconds, enter "5".
Output
ResultReturns true or false based on the copy folder operation result. Boolean variables to store the operation result.

How to Use

  1. Drag and drop the "Copy Folder" activity onto the workflow.
  2. Configure the properties by specifying the source folder path, destination folder path, and optional settings like delay and overwrite.
  3. Execute the workflow to copy the specified folder and its contents to the designated location within Dropbox.

Example

Consider an example where the "Copy Folder" activity is used to copy a folder named "Documents" from one location to another within Dropbox:

Copy Folder:
Display Name: "Copy Documents Folder"
Source Path: "/Folder1/Documents"
Destination Path: "/Folder2/"
Overwrite: true

In this example, the activity copies the "Documents" folder and its contents from the "Folder1" directory to the "Folder2" directory within Dropbox. The "Overwrite" option is set to true, allowing the destination folder to be overwritten if it already exists.